﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAO_HealthInsurance;
using DTO_HealthInsurance;
namespace BLL_HealthInsurance
{
   public class BLLEmployee
   {
       DAOEmployee objDAOEmp = new DAOEmployee();
       public DataTable ListEmployee()
       {
           return objDAOEmp.ListEmployee();
       }
       public int insertEmployee(DTOEmployee objEmp)
       {
           return objDAOEmp.InsertEmployee(objEmp);
       }
       public int updateEmployee(DTOEmployee objEmp)
       {
           return objDAOEmp.UpdateInFoEmp(objEmp);
       }
       public int deleteEmployee(DTOEmployee objEmp)
       {
           return objDAOEmp.DeleteEmployee(objEmp);
       }
       public DataTable GetEmployeeById(DTOEmployee objEmp)
       {
           return objDAOEmp.GetEmpById(objEmp);
       }
    }
}
